package com.neusoft.aclome.cmp.cloud.server.jcce.entity;

import tk.mybatis.mapper.annotation.KeySql;

import java.util.Date;
import javax.persistence.*;

@Table(name = "cloud_platform_consult")
public class CloudPlatformConsultEntity {
    /**
     * 主键ID
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "id", insertable = false)
    private Integer id;

    /**
     * 云商IDs数组
     */
    @Column(name = "cloud_platform_ids")

    private String cloudPlatformIds;
    /**
     * 私有云平台id。英文逗号分割
     */
    @Column(name = "private_platform_ids")
    private String privatePlatformIds;

    /**
     * 名称
     */
    private String name;

    /**
     * 创建时间
     */
    @Column(name = "created_at")
    private Date createdAt;

    /**
     * 备注信息
     */
    private String remark;

    @Column(name = "updated_at")
    private Date updatedAt;

    /**
     * 获取主键ID
     *
     * @return id - 主键ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键ID
     *
     * @param id 主键ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    public String getCloudPlatformIds() {
        return cloudPlatformIds;
    }

    public void setCloudPlatformIds(String cloudPlatformIds) {
        this.cloudPlatformIds = cloudPlatformIds;
    }

    /**
     * 获取名称
     *
     * @return name - 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名称
     *
     * @param name 名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取创建时间
     *
     * @return created_at - 创建时间
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * 设置创建时间
     *
     * @param createdAt 创建时间
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * 获取备注信息
     *
     * @return remark - 备注信息
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注信息
     *
     * @param remark 备注信息
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return updated_at
     */
    public Date getUpdatedAt() {
        return updatedAt;
    }

    /**
     * @param updatedAt
     */
    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getPrivatePlatformIds() {
        return privatePlatformIds;
    }

    public void setPrivatePlatformIds(String privatePlatformIds) {
        this.privatePlatformIds = privatePlatformIds;
    }
}